From: kfraser@localhost.localdomain Date: Wed, 14 Feb 2007 15:54:47 +0000 (+0000) Subject: Another domctl fix to insert missing copy_to_guest. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15327^2^2~2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=df8a199bd05a115472208da9d8bc0550f086bf29;p=xen.git Another domctl fix to insert missing copy_to_guest. Signed-off-by: Gerd Hoffmann --- diff --git a/xen/arch/x86/domctl.c b/xen/arch/x86/domctl.c index 2f06d73cb1..69e2259d7f 100644 --- a/xen/arch/x86/domctl.c +++ b/xen/arch/x86/domctl.c @@ -412,6 +412,9 @@ long arch_do_domctl( ret = 0; put_domain(d); + + if ( copy_to_guest(u_domctl, domctl, 1) ) + ret = -EFAULT; } break;